﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demos.DesignPatterns._06_策略模式
{
    /// <summary>
    /// 无折扣
    /// </summary>
    public class NoDiscount : IDiscountStrategy
    {
        /// <summary>
        /// 无折扣返回原价
        /// </summary>
        /// <param name="originalPrice"></param>
        /// <returns></returns>
        public decimal ApplyDiscount(decimal originalPrice) => originalPrice;
    }
}
